package cn.aitrox.ry.service.image.service;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.image.dto.image.transfer.out.ImageTransferResultExportDataDto;
import cn.aitrox.ry.service.image.dto.image.transfer.out.ImageTransferResultQueryOutDto;
import cn.aitrox.ry.service.image.mq.msg.ImageTransferMsg;

import java.util.List;

public interface ImageTransferService {

    RespResult handlerMsg(ImageTransferMsg imageTransferMsg, long startTime);

    ImageTransferResultQueryOutDto resultQuery(String transferId, Integer relationType, String mode);

    RespResult execute(String transferId, Integer relationType, String mode, List<String> seriesUids);

    RespResult restart(String transferId, Integer relationType, String mode);

    List<ImageTransferResultExportDataDto> resultExport(String transferId, Integer relationType, String mode, List<String> seriesUids);

    void handlerFail(Integer id, String errMsg, long startTime);

    RespResult pause(String transferId, Integer relationType, String mode);
}
